<?php
session_start();
include_once("config.php");
include_once(ROOT."/classes/tpl.php");
include_once(ROOT."/classes/mysql.php");
include_once(ROOT."/classes/login.php");
if(!isset($_GET['page'])){
$a = sql::config("main_page");
$blocks = $a;
}else{
$blocks = $_GET['page'];
}
tpl::build_page($blocks);
echo $queries_s."-".$blocks."-".$GLOBALS['title'];
?>